package cn.zbmao.web.bean;

import cn.zbmao.web.util.dao.DaoFactory;
import com.jfinal.plugin.activerecord.Record;

import java.util.List;
import java.util.Map;

public class Constants {

    public static final String CITY="city";

    public static final String province="province";

    public static final int LOC_ID_CITY=11;

    public static final int LOC_ID_PROVINCE=12;


	public static final String SERVER_HOST_URL = "";
	
	private static Map<Integer, String> hostMap = null ;
	
	public static Map<Integer, String> getHostMap(){
		if (hostMap == null) {
			hostMap = DaoFactory.getHostDao().findHostMap();
		}
		return hostMap;
	}
    public static List<Record> allcity=DaoFactory.getUserDao().findAllcity();


    public static final String ADMIN_JOB="admin_job";

    public static final String ADMIN_LEVEL="admin_level";

    public static final String ADMIN_USER="admin_user";

    public static final String ARTICLES="articles";

    public static final String ERROR="error";

//    public static final String GD="gd";

    public static final String HOST="host";

    public static final String HTML_0="html_0";

    public static final String NEWSLIST="newslist";

    public static final String OLD_HOST="old_host";

    public static final String QUALIFICATION="qualification";

    public static final String RESULT="result";

    public static final String SPIDER_CONFIG="spider_config";

    public static final String SUCCESSFUL_NEWS_FON_USER="successful_news_for_user";

    public static final String SUCCESSFUL_TENDER_NEWS="successful_tender_news";

    public static final String SUCCESSFUL_TENDER_NEWS_HTML="successful_tender_news_html";

    public static final String SUCCESSFUL_TENDER_NEWS_INFO="successful_tender_news_info";

    public static final String TEMP_NEWS="temp_news";

    public static final String TENDER_NEWS="tender_news";

    public static final String TENDER_NEWS_HTML="tender_news_html";

    public static final String TENDER_NEWS_INFO="tender_news_info";

    public static final String TENDER_QUALIFICATION="tender_qualification";

    public static final String USER="user";

    public static final String USER_DISTRICT="user_district";

    public static final String USER_HOST="user_host";

    public static final String USER_KEY_WORD="user_keyword";

    public static final String USER_KEY_WORD_LOG="user_keyword_log";

    public static final String USER_PAY="user_pay";

    public static final String USER_QUALIFICATION="user_qualification";

    public static final String USER_URL="user_url";

    public static final String DISTRICT="district";







}
